package com.coinworld.utils;

/**
 * Created by ZhangRuiFeng on 2019/5/7.
 */
//@Configuration
public class WxPayConfig {

    /**微信支付统一下单url*/
    public static final String WXPAY_CREATE_ORDER_URL   = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    /**微信支付应用appid*/
    public static String       WXPAY_APPID          = "wx5d2dc8c36675eb2a";

    /**应用密钥*/
    public static String       WXPAY_APPSECRET      = "80c6aa14c63352342ef798bfddd6f6bb";

    /**微信支付商户号*/
    public static String       WXPAY_PARTNER        = "1536314021";

    /**微信支付商户私钥*/
    public static String       WXPAY_PARTNER_KEY    = "bvKMPO5WSLnmWQrBHDK25DIkGZC0xs16";
    /**网站域名*/
//    @Value("${url.resources}")
    public static String       URL_RESOURCES = "https://h5.honeytrip.cn";
//    https://h5.honeytrip.cn
//    url.resources=http://101.200.149.120:8084

    /**开发者测试验证token*/
    public static final String WXPAY_VALIDATE_TOKEN = "dawawang";

    /**微信访问token,无需修改*/
    public static final String WXPAY_ACCESS_TOKEN       = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential";

    /**
     * 微信PKCS8文件
     */
    public static final String PKCS8_KEY_FILE = "/data/project/honeytripfiles/wechat/pksc8_public.pem";
}
